/**  
 * @Title: Constant.java
 * @Package com.limit.constant
 * @author maoyun(maoyun0903@163.com)
 * @date 2014-3-27 下午03:27:19
 * @version V1.0
 */ 
package com.limit.constant;

/** 
 * <br/>
 * @author maoyun(maoyun0903@163.com)
 * @date 2014-3-27 下午03:27:19 
 * @version V1.0
 */

public class Constant {
	
	
	/*							Cache Key							*/
	/**
	 * 权限列表缓存标识
	 */
	public static final String CacheActorPermission = "admin_permissions";
	/**
	 * 缓存角色Key 
	 */
	public static final String CacheActor = "admin_actor";
	/**
	 * 下载统计查询缓存
	 */
	public static final String CacheCountSQL = "downincome_count";
	/**
	 * 下载统计查询缓存
	 */
	public static final String CacheGameTypes = "game_types";
	
	
	
	
	/*							Session Key							*/
	/**
	 * 后台管理员登陆标识
	 */
	public static final String AdminLoginTag = "admin_login_tag";
	/**
	 * 当前后台登陆角色
	 */
	public static final String AdminLoginActor = "admin_cur_actor";
	
	/**
	 * 用户登录是session存放username的key值
	 */
	public static final String UserName = "UserName";
	
	/**
	 * 用户登录是session存放actorId的key值
	 */
	public static final String ActorId = "ActorId";
	
	/**
	 * 用户登录是session存放adminId的key值
	 */
	public static final String AdminId = "AdminId";
	
	public static final Integer ANDROID = 1;
	public static final Integer IOS = 2;
	
	/**
	 * 幻灯片图片存储位置
	 */
	public static final String slidePath = "/upload/images/slide";
	/**
	 * 游戏图片存储位置
	 */
	public static final String gameIconPath = "/upload/images/game";
	/**
	 * 游戏图片存储位置
	 */
	public static final String gameImagePath = "/upload/images/game";
	/**
	 * android apk文件存储位置
	 */
	public static final String androidFilePath = "http://ftp.fktvip.com/android/";
	/**
	 * ios 安装文件存储位置
	 */
	public static final String iosIpaFilePath = "http://ftp.fktvip.com/ios/";
	
	
	
	
	
}
